/*日期选择器*/
if(mui){
	(function ($) {
	    $.init();
	    var btns = $('.date-select');
	    btns.each(function (i, btn) {
	        btn.addEventListener('tap', function () {
	            var _self = this;
	            if (_self.picker) {
	                _self.picker.show(function (rs) {
	                	rs.text = rs.text.replace(/-/g,"/");
	                    _self.value = rs.text;
	                    _self.picker.dispose();
	                    _self.picker = null;
	                });
	            } else {
	                var optionsJson = this.getAttribute('data-options') || '{}';
	                var options = JSON.parse(optionsJson);
	                var id = this.getAttribute('id');
	                _self.picker = new $.DtPicker(options);
	                _self.picker.show(function (rs) {
	                    rs.text = rs.text.replace(/-/g,"/");
	                    _self.value = rs.text;
	                    _self.picker.dispose();
	                    _self.picker = null;
	                });
	            }
	        }, false);
	    });
	})(mui);
}
//$(function(){
//	$(".checkl").css('float',null);
//})
